package news.yp.newsproject.bean;

import java.util.List;

public class BookResponse {

    /**
     * messge : success
     * code : 0
     * data : [{"bookpath":"aaa","_id":"aaaa","bookjpg":"aaaa"},{"bookpath":"aaa","_id":"aaaa","bookjpg":"aaaa"}]
     */

    private String messge;
    private int code;
    private List<DataBean> data;

    public String getMessge() {
        return messge;
    }

    public void setMessge(String messge) {
        this.messge = messge;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * bookpath : aaa
         * _id : aaaa
         * bookjpg : aaaa
         */

        private String bookpath;
        private String _id;
        private String bookjpg;

        public String getBookpath() {
            return bookpath;
        }

        public void setBookpath(String bookpath) {
            this.bookpath = bookpath;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getBookjpg() {
            return bookjpg;
        }

        public void setBookjpg(String bookjpg) {
            this.bookjpg = bookjpg;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "bookpath='" + bookpath + '\'' +
                    ", _id='" + _id + '\'' +
                    ", bookjpg='" + bookjpg + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "BookResponse{" +
                "messge='" + messge + '\'' +
                ", code=" + code +
                ", data=" + data +
                '}';
    }
}
